package nci60.data.maxquant.peptide

/**
 * Stores all possible charges of a peptide
 *
 * @autor <a href="mailto:Florian.J.Auer@googlemail.com">Florian J. Auer</a>
*/
class PeptideCharge {

    /**
    * Charge of the peptide
    */
    Integer charge

    /**
    * GRAILS <a href="http://grails.org/doc/latest/guide/GORM.html#gormAssociation" target="_blank">Associations in Gorm</a>
    * <p />
    * Belongs to many peptide entries (many-to-many relationship)<p />
    * This property is mapped as jointable "peptide_charges" in the owning peptides class <p />
    * <b>See Also:</b> {@link nci60.data.maxquant.peptide.Peptide#hasMany}
    */
    static belongsTo = [Peptide]

    /**
     * GRAILS <a href="http://grails.org/doc/latest/guide/single.html#constraints" target="_blank">Declaring Constraints</a>
     * <p />
     * Constraints in Grails are a way to declaratively specify validation rules for generating objects in GORM.
     */	
    static constraints = {
    }
}
